package org.geektimes.configuration.microprofile.config.source;

import java.util.Map;

/**
 @author :   chuan
 @date :   2021/03/17
 */
public class OperationSystemEnvironmentVariablesConfigSource extends MapBasedConfigSource {


    public OperationSystemEnvironmentVariablesConfigSource() {
        super("OperationSystemEnvironmentVariablesConfigSource", 300);
    }

    @Override
    protected void prepareConfigData(Map configData) {
        configData.putAll(System.getenv());
    }
}
